//
//  YZillMessage.m
//  kuaiyi
//
//  Created by wyman on 16/5/6.
//
//

#import "YZillMessage.h"

@implementation YZillMessage


/*
 
@property (nonatomic, strong) NSString *timeLabel;
 
 @property (nonatomic, strong) UIImage *photoImage;
 
 @property (nonatomic, strong) NSString *illType;
 
 @property (nonatomic, strong) NSString *describleLabel;
 */

-(UIImage *)photoImage{
    if (_photoImage == nil) {
        _photoImage = [[UIImage alloc]init];
    }
    return _photoImage
    ;



}
- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:self.timeLabel forKey:@"timeLabel"];
    [aCoder encodeObject:self.photoImage forKey:@"photoImage"];

    [aCoder encodeObject:self.illType forKey:@"illType"];

    [aCoder encodeObject:self.describleLabel forKey:@"describleLabel"];



}
- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder{

    self.timeLabel = [aDecoder decodeObjectForKey:@"timeLabel"];
    self.photoImage = [aDecoder decodeObjectForKey:@"photoImage"];
    self.illType = [aDecoder decodeObjectForKey:@"illType"];
    self.describleLabel = [aDecoder decodeObjectForKey:@"describleLabel"];

    
    
    return self;
}


@end
